<?php
interface Users
{
	// method for users Table
	public function getUsers(); // to get all users
	public function getUserById($userId); // to get user by id
	public function getUserByEmail($Email); // to get user by UserName
	public function setUser($fName, $lName,  $password, $counrtyId, $stateId, $cityId, $email, $mobile); //to insert the user
	public function setUserById( $userId, $fName, $lname, $password, $countryId,  $stateId,  $cityId,  $email,  $mobile); // to update the user
	public function removeUsers(); // to remove all users
	public function removeUserById($userId); // to remove user by Id
	public function removeUserByUserName($userId); // to remove user by Id
	public function checkUser( $email, $password); // check username and password for login verification
        public function checkEmail($email); //check email id already exist or not
	
}
?>